import { createRouter, createWebHistory } from "vue-router";
import routes from "./router";

// const routes = [
//   {
//     path: "/About",
//     component: () => import("../views/About.vue"),
//   },
//   {
//     path: "/Home",
//     component: () => import("../views/Home.vue"),
//   },
//   {
//     path: "/test/:test/test2",
//     component: () => import("../views/test/_test/test2.vue"),
//   },
//   {
//     path: "/login",
//     component: () => import("../views/login/index.vue"),
//   },
// ];

console.log(routes);
const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes,
});

export default router;
